<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="background:url(<?=base_url('resources/bg.jpg')?>) repeat">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name ="keyword" content="<?=$this->Config->val('keyword')?>" />
<meta name ="description" content ="<?=$this->Config->val('site_desc')?>" />
<title><?=$title?></title>

<!-- link type="text/css" rel="stylesheet" href="http://absoft.com.vn/css/images/general.css" />
<link type="text/css" rel="stylesheet" href="http://absoft.com.vn/css/images/layout.css" /-->
<?=link_tag('resources/css/general.css','stylesheet','text/css')?>
<?=link_tag('resources/css/layout.css','stylesheet','text/css')?>

<!-- begin slider -->
<!--link type="text/css" rel="stylesheet" href="http://absoft.com.vn/css/images/style.css" /-->
<?=link_tag('resources/css/style_home.css','stylesheet','text/css')?>
<script type="text/javascript" language="javascript" src="http://absoft.com.vn/css/images/jquery.min.js"></script>
<script type="text/javascript" language="javascript" src="http://absoft.com.vn/css/images/slide/scripts.js"></script>
<!-- end slider-->


<!--link type="text/css" rel="stylesheet" href="http://absoft.com.vn/css/images/menu.css" /-->
<?=link_tag('resources/css/menu.css','stylesheet','text/css')?>
<script type="text/javascript" language="javascript" src="http://absoft.com.vn/css/images/menu/menu.js" ></script>


</head>

<body>

    
    
    <!-- begin container -->
    <div id="container">
    	
        
        <!-- begin header -->
    	<div id="header" style="background: url(<?=base_url($this->Config->val('site_logo'))?>);<?=$this->Config->val('logo_style')?>">
        
        
        	<!-- begin logo -->
        	<div id="logo">
            <a href="<?=site_url('home')?>">
			&nbsp;
			</a>
            </div>
            <!-- end logo -->
            
            
            <!-- begin right_header -->
        	<div id="right_header">
            	
                
                <!-- begin flag -->
            	<div id="flag">
            		<a href="#"><img src="http://absoft.com.vn/css/images/vn.png" alt="" /></a><a href="#"><img src="http://absoft.com.vn/css/images/en.png" alt="" /></a>                </div>
                <!-- end flag -->
                
                
                
                	
                <div id="myslidemenu" class="jqueryslidemenu">
	            <!--begin menu-->
	            <ul>
	            	<li>
	            		<a href="<?=site_url('home')?>"><?=$this->lang->line('HOME')?></a>
	            	</li>
	            <?php 
	            $n=count($categories);
	            for($i=0;$i<$n;$i++){
	            	$category=$categories[$i];
	            ?>
	            	<li<?php if($i==$n-1) echo ' class="final"';
	            	?>>
	            		<a href="<?=site_url('home/category/'.$category['id'])?>"><?=$category['name']?></a>
	            		<?php 
	            		if(isset($category['sub_categories']))
	            		{
	            			echo '<ul>';
	            			$m=count($category['sub_categories']);
		            		for($j=0;$j<$m;$j++)
		            		{?>
		            			
		            				<li<?php if($j==0) echo ' class="fisrt"';
		            							else if($j==$m-1) echo ' class="final"';?>>
		            					<a href="<?=site_url('home/category/'.$category['sub_categories'][$j]['id'])?>"><?=$category['sub_categories'][$j]['name']?></a>
		            				</li>
		            			
		            		<?php 
		            		}
		            		echo '</ul>';
	            		}?>
	            	</li>
	            <?php }
	            ?>
		            			            </ul>
	            <!--end menu-->
	        </div>
                
            
            </div>
            <!-- end right_header -->
            
        
        </div>
        <!-- begin header -->
        
  <!-- begin box_content -->
        <div id="box_content">